﻿<Window x:Class="Abhiruchi_Phase1.ORG_TaskMaster"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="TaskManagement" Height="600" Width="800" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="330*" />
            <ColumnDefinition Width="448*" />
        </Grid.ColumnDefinitions>
        <Label Content="Task Management" FontSize="18" FontWeight="Bold" Height="35" HorizontalAlignment="Left" Margin="283,10,0,0" Name="lblTHeading" VerticalAlignment="Top" Width="167" Grid.ColumnSpan="2" />
        <Label Content="Task ID :" Height="28" HorizontalAlignment="Left" Margin="10,74,0,0" Name="lblTid" VerticalAlignment="Top" FontWeight="Bold" />
        <Label Content="Section :" Height="28" HorizontalAlignment="Left" Margin="10,120,0,0" Name="lblSecName" VerticalAlignment="Top" FontWeight="Bold" />
        <Label Content="Task Name :" Height="28" HorizontalAlignment="Left" Margin="10,165,0,0" Name="lblTaskName" VerticalAlignment="Top" FontWeight="Bold" />
        <CheckBox Content=" Is Active" Height="20" HorizontalAlignment="Left" Margin="126,378,0,0" Name="chkStatus" VerticalAlignment="Top" Width="73" />
        <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="126,422,0,0" Name="btnSave" VerticalAlignment="Top" Width="75" Click="btnSave_Click" />
        <Button Content="Clear" Height="23" HorizontalAlignment="Left" Margin="214,422,0,0" Name="btnClear" VerticalAlignment="Top" Width="75" Click="btnClear_Click" />
       
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="124,122,0,0" Name="cmbShowSec" VerticalAlignment="Top" Width="163" SelectionChanged="cmbShowSec_SelectionChanged" ItemsSource="{Binding}" SelectedIndex="-1" />
        <Label Content="Task Matrix :" Height="28" HorizontalAlignment="Left" Margin="10,199,0,0" Name="lblTskMatrix" VerticalAlignment="Top" FontWeight="Bold" />
        <Label Content="Gender" Height="28" HorizontalAlignment="Left" Margin="130,199,0,0" Name="lblGender" VerticalAlignment="Top" />
        <Label Content="Hours" Height="28" HorizontalAlignment="Left" Margin="195,199,0,0" Name="lblHrs" VerticalAlignment="Top" />
        <Label Content="Pay Per Day" HorizontalAlignment="Left" Margin="255,199,0,334" Name="lblPPday" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="112,227,0,0" Name="cmbShowGen" VerticalAlignment="Top" Width="71" SelectedIndex="0">
            
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Right" Margin="0,227,81,0" Name="cmbShowHours" VerticalAlignment="Top" Width="64" SelectedIndex="0">
           
        </ComboBox>
        <Label Content="Description :" Height="28" HorizontalAlignment="Left" Margin="12,283,0,0" Name="lblDesc" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBox Height="89" HorizontalAlignment="Left" Margin="126,273,0,0" Name="txtShowDesc" VerticalAlignment="Top" Width="163" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="124,170,0,0" Name="txtTaskShowNm" VerticalAlignment="Top" Width="163" LostFocus="txtTaskShowNm_LostFocus"  />
        <TextBox Height="23" HorizontalAlignment="Right" Margin="0,227,6,0" Name="txtShowPPDay" VerticalAlignment="Top" Width="67" LostFocus="txtShowPPDay_LostFocus" />
        <Label Height="28" HorizontalAlignment="Left" Margin="123,76,0,0" Name="lblShowTskID" VerticalAlignment="Top" Width="166" />        
            <telerik:RadGridView DataContext="{Binding}"  CanUserFreezeColumns="True" Focusable="False" IsReadOnly="True" Name="grdDisp" Width="452" RowActivated="grdDisp_RowActivated" Margin="0,72,-4,0" Grid.Column="1">                                  
            </telerik:RadGridView>       
    </Grid>
</Window>
